package config

type Configuration struct {
	App      App      `mapstructure:"app" json:"app" yaml:"app"`
	Database Database `mapstructure:"database" json:"database" yaml:"database"`
	Log      Log      `mapstructure:"log" json:"log" yaml:"log"`
	Jwt      Jwt      `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
	Redis    Redis    `mapstructure:"redis" json:"redis" yaml:"redis"`
	Mail     Mail     `mapstructure:"mail" json:"mail" yaml:"mail"`
}

type App struct {
	Env         string `mapstructure:"env" json:"env" yaml:"env"`
	Port        string `mapstructure:"port" json:"port" yaml:"port"`
	Name        string `mapstructure:"name" json:"name" yaml:"name"`
	Host        string `mapstructure:"host" json:"host" yaml:"host"`
	ViteUrl     string `mapstructure:"vite_url" json:"vite_url" yaml:"vite_url"`
	FaviconName string `mapstructure:"favicon_name" json:"favicon_name" yaml:"favicon_name"`
	FaviconPath string `mapstructure:"favicon_path" json:"favicon_path" yaml:"favicon_path"`
}
